package com.dingding.gmall.ware;

import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ApplicationContext;


@EnableRabbit
@EnableDiscoveryClient
@EnableFeignClients
@SpringBootApplication
public class GmallWareApplication {

    public static void main(String[] args) {
        ApplicationContext ctx  = SpringApplication.run(GmallWareApplication.class, args);
//        String[] beanNames =  ctx.getBeanDefinitionNames();
//        for(String bean : beanNames){
//            System.out.println(bean);
//        }
    }

}
